package com.example.presentation_libary.eventBus;

/**
 * eventBus 的数据类
 */
public class MsgEvent {
    String type;
    String json;

    public MsgEvent(String type, String json) {
        this.type = type;
        this.json = json;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    @Override
    public String toString() {
        return "MsgEvent{" +
                "type='" + type + '\'' +
                ", json='" + json + '\'' +
                '}';
    }
}
